package com.metal.gear.certification.entity.dto.position;

import com.alibaba.excel.annotation.ExcelProperty;
import com.metal.gear.common.annotation.Dict;
import com.metal.gear.common.util.query.QueryRule;
import com.metal.gear.common.util.query.QueryRuleEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name ="职位查询实体")
public class SysPositionSearchDto {
    

    @ExcelProperty("职务编码")
    @Schema(name = "职务编码")
    @QueryRule(queryCondition = QueryRuleEnum.LIKE)
    private String code;



    @Schema(name = "职务名称")
    @QueryRule(queryCondition = QueryRuleEnum.LIKE)
    private String name;

    @ExcelProperty( "职级")
    @Schema(name = "职级")
    @QueryRule(queryCondition = QueryRuleEnum.EQ)
    @Dict(dicCode = "position_rank")
    private String postRank;


}
